package com.example.shangjiba;

import java.io.Serializable;

/**
 * 新闻数据模型类
 */
public class NewsItem implements Serializable {
    private String title;
    private String description;
    private String content;
    private String time;

    public NewsItem(String title, String description, String content, String time) {
        this.title = title;
        this.description = description;
        this.content = content;
        this.time = time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
